'use strict';

const Controller = require('../core/base_controller');

class SearchController extends Controller {
    // 获取文章列表
    async getList() {
        await this.search('getList')
    }
    async delSearch(){
        await this.search('delSearch')
    }
    // 添加搜索记录
    async addSearch(){
        await this.search('addSearch')
    }
}

module.exports = SearchController;